<template>
  <div></div>
</template>
<script>
import config from "@/utils/config";
import appService from "@/utils/appService";
export default {
  data() {
    return {};
  },
  async mounted() {

    console.log('登录页面.......')
    window.open(config.loginPath, "_self");
    //await appService.removeUserInfo()

    // let redirect_uri = config.domain + config.publicPath + "callback";
    // console.log("111111111111111" + redirect_uri);
    // let resposne = await appService.getRequest(
    //   `${config.serverPath}/${config.loginPath}`,
    //   { redirect_uri: redirect_uri, clientName: "tzy_oauth2" }
    // );
    // // return;
    // if (resposne.data.errorCode === 0) {
    //   window.open(resposne.data.data, "_self");
    // }
    // this.$router.push('/order');
  },
  methods: {}
};
</script>
<style lang="less" scoped>
</style>
